#ifndef ENTITYPLAYER_HPP_INCLUDED
#define ENTITYPLAYER_HPP_INCLUDED

class EntityPlayer
{
public:
    enum Action
    {
        ATTACK = 0,
        MAGIC = 1,
        PROTECT = 2,
        MANA = 3,
        SHARPE = 4,
        SURREND = 5
    };

    EntityPlayer();
    ~EntityPlayer();

    void engageFight(EntityPlayer* enemy);
    void action(enum Action action);

    void attack();
    void magicAttack();
    void protect();
    void regenMana();
    void sharpe();
    void surrend();

    void takeDamage(int damage);
    void takeMagicDamage(int magicDamage);

    int getDamage();
    int getMagicDamage();
    int getHealth();
    int getMana();

private:

    EntityPlayer *m_enemy;

    int m_health;
    int m_damage;
    int m_magicDamage;
    int m_mana;

    bool m_protected;
};

#endif // ENTITYPLAYER_HPP_INCLUDED
